package main

import "fmt"

type Vetex struct {
	lat, long float64
}

func main() {
	var m = map[string]Vetex{
		"one": {2.32, -234.22},
		"two": {232.222, -23.2255},
	}
	fmt.Println(m)
	fmt.Println(m["one"])

	//探测那个值存在，若不存在则第二个参数为false
	elem, ok := m["three"]
	fmt.Println(elem, ok)
}
